<script setup lang="ts">
import XEchart from '@/components/XEchart.vue';
import type { EChartsOption } from 'echarts';
const option: EChartsOption = {
	xAxis: {
		type: 'category',
		data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
	},
	yAxis: {
		type: 'value'
	},
	series: [
		{
			data: [120, 200, 150, 80, 70, 110, 130],
			type: 'bar'
		}
	]
};
</script>

<template>
	<n-card>
		<x-echart :option="option" />
	</n-card>
</template>

<style scoped></style>
